<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<title>添加采集规则 - FinalCMS Admin</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

<link rel="stylesheet" href="${ctx}/css/bootstrap.min.css" />
<link rel="stylesheet" href="${ctx}/css/font-awesome.min.css" />
<link rel="stylesheet" href="${ctx}/css/jquery-ui.custom.min.css" />
<link rel="stylesheet" href="${ctx}/css/select2.css" />
<link rel="stylesheet" href="${ctx}/css/fc-fonts.css" />
<link rel="stylesheet" href="${ctx}/css/fc.min.css" />
<!--[if lte IE 9]>
	<link rel="stylesheet" href="${ctx}/css/fc-part2.min.css" />
<![endif]-->
<link rel="stylesheet" href="${ctx}/css/fc-skins.min.css" />
<link rel="stylesheet" href="${ctx}/css/fc-rtl.min.css" />

<!--[if lte IE 9]>
  <link rel="stylesheet" href="${ctx}/css/fc-ie.min.css" />
<![endif]-->

<!--[if lte IE 8]>
<script src="${ctx}/js/html5shiv.js"></script>
<script src="${ctx}/js/respond.min.js"></script>
<![endif]-->
</head>

<body class="no-skin">
	<?include("../../../inc/menu.html",{current:"novel_rule_create"}){}?>
	<div class="main-content">
		<div class="breadcrumbs" id="breadcrumbs">
			<script type="text/javascript">
				try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
			</script>
			<ul class="breadcrumb">
				<li><i class="ace-icon fa fa-home home-icon"></i> <a href="${ctx}/admin/account/dashboard">首页</a>
				</li>
				<li>小说采集规则</li>
				<li class="active">创建</li>
			</ul>
		</div>

		<div class="page-content">
			
			<div class="page-header">
				<h1>
					小说采集规则
					<small>
						<i class="ace-icon fa fa-angle-double-right"></i>
						所有规则
					</small>
				</h1>
			</div><!-- /.page-header -->
			
			<div class="row">
				<div class="table-container col-xs-12 table_page">
					<table id="content-table" class="table table-striped table-bordered table-hover table_page">
						<thead>
							<tr>
								<th class="center">规则名</th>
								<th class="center"></th>
								<th class="center"></th>
								<th class="center"></th>
							</tr>
						</thead>
						<tbody>
							<?
							for(file in files!){
							?>
							<tr>
								<td class="center">${file}</td>
								<td class="center"><a href="${ctx}/admin/rule/novel/delete?name=${file}">删除</a></td>
								<td class="center"><a href="${ctx}/admin/rule/novel/edit?name=${file}">编辑</a></td>
								<td class="center"><a href="${ctx}/admin/rule/novel/down?name=${file}">下载</a></td>
							</tr>
							<?}?> 
						</tbody>
					</table>
				</div>
			</div>
		</div><!-- /.page-content -->
	</div><!-- /.main-content -->

	<?include("../../../inc/footer.html"){}?>
</div>

	<!--[if !IE]> -->
	<script type="text/javascript">
			window.jQuery || document.write("<script src='${ctx}/js/jquery2.1.0.min.js'>"+"<"+"/script>");
		</script>
	<!-- <![endif]-->

	<!--[if IE]>
	<script type="text/javascript">
	 	window.jQuery || document.write("<script src='${ctx}/js/jquery1.11.0.min.js'>"+"<"+"/script>");
	</script>
	<![endif]-->
	<script type="text/javascript" src="${ctx}/js/bootstrap.min.js"></script>

	<!--[if lte IE 8]>
		  <script type="text/javascript" src="${ctx}/js/excanvas.min.js"></script>
		<![endif]-->
	<script type="text/javascript" src="${ctx}/js/jquery-ui.custom.min.js"></script>
	<script type="text/javascript" src="${ctx}/js/jquery.ui.touch-punch.min.js"></script>
	<script src="${ctx}/js/chosen.jquery.min.js"></script>
	<script src="${ctx}/js/bootbox.min.js"></script>
	<script src="${ctx}/js/select2.min.js"></script>

	<script type="text/javascript" src="${ctx}/js/fc-extra.min.js"></script>
	<script type="text/javascript" src="${ctx}/js/fc-elements.min.js"></script>
	<script type="text/javascript" src="${ctx}/js/fc.min.js"></script>
	<script type="text/javascript" src="${ctx}/js/admin/fc.rule.novel.js"></script>
</body>
</html>
